aed6918571a4f6f9bce2af87b104c613f6784671,zanata-war/src/main/java/org/zanata/service/impl/StatisticsServiceImpl.java,StatisticsServiceImpl,getStatistics,#String#String#String#boolean#String[]#,202
Before Change
wordStats.setUntranslated( wordCount.get(ContentState.New) );
wordStats.setNeedReview( wordCount.get(ContentState.NeedReview) );
wordStats.setTotal( wordCount.getTotal() );
docStats.addStats(wordStats);
}
}
After Change
}
// word level stats
TranslationStatistics wordStats = getWordsStats(wordCount, locale);
wordStats.setRemainingHours(getRemainingHours(wordCount.get(ContentState.NeedReview), wordCount.get(ContentState.New)));
docStats.addStats(wordStats);
// trans unit level stats
TranslationStatistics transUnitStats = getMessageStats(count, locale);